<style type="text/css">
	.border-container::after {
		content: "Cliente";
	}
	
	.sectionTitle {
		font-size: 12px;
		font-weight: bold;
		color: #bbb;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
</style>
<div class="container">
	{{ Form::open(array('url' => 'customer', 'class' => 'form-horizontal', 'role' => 'form')) }}
		<div class="border-container">
			@if (!$errors->isEmpty())
			<div class="alert alert-danger">
				<strong>Ocorreram os seguintes erros:</strong>
				{{ HTML::ul($errors->all()) }}
			</div>
			@endif

            <div class="form-group">
				<label for="code" class="col-sm-2 control-label">Código</label>
				<div class="col-sm-5">
                	{{ Form::text('code', null, array('class'=>'form-control', 'maxlength'=>'45')) }}
				</div>
            </div>
			
            <div class="form-group">
				<label for="name" class="col-sm-2 control-label">Nome</label>
				<div class="col-sm-9">
                	{{ Form::text('name', null, array('class'=>'form-control', 'maxlength'=>'100')) }}
				</div>
            </div>
        </div>        
      	{{ Form::submit('Cadastrar Cliente', array('id' => 'btn-save-customer', 'class'=>'btn btn-primary', 'data-loading-text' => 'Aguarde...'))}}
		{{ HTML::link('customer', 'Cancelar', array('class' => 'btn btn-default', 'style'=>'float: right')) }}
	{{ Form::close() }}
</div>